package com.hspedu.homework;

public class homework01 {

    public static void main(String[] args) {


                        Animal CAT1=new cat();
                        CAT1.shout();
    }
}
abstract  class Animal{

    abstract public void  shout();


}
class cat extends  Animal{


    public void shout(){

        System.out.println("小猫在叫");
    }

}